package com.bdqn.dao;

import com.bdqn.entity.SpecialWay;

import java.util.Date;

public interface CheckWorkDao {

    int findByIdAndDate(String empId, String date);

    boolean insertIntoEnd(String time,String empId,String date);

    boolean insertIntostart(String time, String date, String empId);

    int findByEmpId(String empId);

    int addEmpl(String empId, String name, String depId, String password);

    int findByEmpIdAndName(String empId, String name);

    int deleteByEmpId(String empId);

    int deleteFromCheck(String empId);

    Date FindByIdAndDate(String empId, String date);

    int updatelatecome(String empId,String date);

    int updateleaveEarly(String empId, String date);

    Date findway(int week, Integer depId);

    Date findSway(int week, Integer depId);

    Date FindEndByIdAndDate(String empId, String date);

    int findSpecial(String date);

    int findWeek(Integer depId, int week);

    SpecialWay findByDate(String date,int depId);

    int updateleaveEarly_true(String empId, String date);

    int FindWeek(Integer depId, int week);

    Date findEnd(Integer depId, int week);

    Date findstart(Integer depId, int week);
}
